<?php
// @formatter:off
/**
 * @file cron.php
 * @author Alejandro Dario Simi
 * @date $Date: 2013-07-05 14:30:06 +0000 (Fri, 05 Jul 2013) $
 *
 * Cron and cron tools launcher.
 *
 * $Id: cron.php 89 2013-07-05 14:30:06Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/tags/wcomix-1.0/cron/cron.php $
 */
// @formatter:on

(php_sapi_name() != "cli") && die("This script runs only on comand line");

define("__CRON__", true);

require_once dirname(dirname(__FILE__))."/config/config.php";
require_once "{$wcPaths["includes-directory"]}/dynamic.conf.php";

$wcCron->run();

@unlink($wcPaths["install-tmps"]["cron"]);
?>
